<?php
/**
 * Created by mFramework.
 * User: Mauro
 * Date: 28/04/11
 * Time: 12:42
 */
class configuracionCMS extends CMS {
	public $model = 'MFConfiguration';
	public $module = 'configuracion';

    public $active = false;

	function __construct($view = null) {
		parent::__construct($view);
	}

    function executeIndex() {
        utils::redirect('?module=configuracion&action=edit&id=1',true,true);
    }

    function executeEdit() {
        $_GET = utils::setNullEmptyFieldArray($_GET);
        if(!isset($_GET['id'])) utils::redirect('?module=configuracion&action=edit&id=1',true,true);
        parent::executeEdit();
    }

    function executeSave() {
        parent::executeSave(false);
    }
}
?>